//
//  WLVideoAudioCell.m
//  WanLian
//
//  Created by muzhuang on 2018/10/19.
//  Copyright © 2018年 wanlian. All rights reserved.
//

#import "WLVideoAudioCell.h"

@implementation WLVideoAudioCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _ivHead = [[UIImageView alloc] initWithFrame:CGRectMake(WLScaleX(16), WLScaleX(11), WLScaleX(46), WLScaleX(46))];
        [self.contentView addSubview:_ivHead];
        
        _labName = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16+46+10), WLScaleX(11), WIDTH_SCREEN_WL-WLScaleX(100), WLScaleX(26))];
        _labName.font = [WLCommonTool fontTypePingFangSCRegular:17];
        _labName.textColor = wlBlackColor;
        [self.contentView addSubview:_labName];
        
        _labSize = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16+46+10), WLScaleX(37), WLScaleX(200), WLScaleX(20))];
        _labSize.textColor = wlLightTextColor;
        _labSize.font = [WLCommonTool fontTypePingFangSCRegular:11];
        [self.contentView addSubview:_labSize];
        
        _btnMore = [[UIButton alloc] initWithFrame:CGRectMake(WIDTH_SCREEN_WL-WLScaleX(8)-40, (WLScaleX(68)-30)/2.0, 40, 30)];
        [_btnMore setImage:[UIImage imageNamed:@"cloud_more"] forState:UIControlStateNormal];
        [self.contentView addSubview:_btnMore];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
